<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return response()->redirectTo('/admin');
});

Route::get('work_reward','EntranceController@workReward');
Route::get('reward_debug_api','EntranceController@debugData');
Route::get('reward_back_debug_api','EntranceController@backDebugData');

//重写的入口模板
Route::get('new_work_reward','EntranceController@myWorkReward');
Route::get('new_work_reward_show','EntranceController@myWorkRewardShow');

//页面重定向
Route::get('do_resource_to','EntranceController@doRedirTo');
//机器人列表
Route::get('get_reword_user','EntranceController@getRobot');